package cn.kevinking.ai.mcp.provider.service;

import cn.kevinking.ai.mcp.provider.annotation.McpTool;
import cn.kevinking.ai.mcp.provider.annotation.McpToolParam;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author jinkw
 * @description
 * @createDate 2025/9/26
 */
@Service
public class McpTestService {

    @McpTool(description = "查询天气情况", bizScope = "mcpTest")
    public String getWeather(@McpToolParam(description = "地点") String location, @McpToolParam(description = "日期") Date date) {
        return "getWeather: success";
    }
}
